<template>
  <div class="about">
    <h2>About</h2>
    <h3>
      <router-link :to="{name:'aboutTeam'}">aboutTeam</router-link> |
      <router-link :to="{name:'aboutMore'}">aboutMore</router-link>
    </h3>

    <router-view></router-view>
    <h1>This is an about page</h1>
  </div>
</template>


<script>
export default {
  data() {
    return {};
  },
  methods: {
    getValue(condition) {
      if (condition) {
        let value = "blue";
        return value;
      } else {
        // console.log(value)
        return null;
      }
    }
  },
  mounted() {
    console.log(typeof this.getValue(true));
  }
};
</script>

<style lang="less" scoped>
.about {
  color: yellowgreen;

  h1 {
    color: goldenrod;
    border-top: 1px solid #f0f0f0;
  }
  h3 {
    border-bottom: 1px solid #f0f0f0;
    border-top: 1px solid #f0f0f0;
    padding: 20px 0;
  }
  a {
    font-weight: bold;
    color: #2c3e50;
    &.router-link-exact-active {
      color: #42b983;
    }
  }
}
</style>



